package cn.tradewin.advisor.persist.mapper;

import java.util.List;

import cn.tradewin.advisor.persist.model.Permissions;
import cn.tradewin.advisor.persist.model.RolePermsKey;

public interface RolePermsMapper {

	int deleteByPrimaryKey(RolePermsKey key);

	int insert(RolePermsKey record);

	List<Permissions> selectAuthorizedPermsForRole(String roleId);

	List<Permissions> selectAvailablePermsForRole(String roleId);
}